package com.app.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_tests_person")
@JsonInclude(JsonInclude.Include.NON_NULL)

public class TestsPersonModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer testsId;//实验ID
    private Integer personId;//人员ID 对应person表
    private String startTime;//开始时间
    private String endTime;// 结束时间
    private String content;//备注
    private Timestamp createTime;
    private Timestamp updateTime;

    @TableField(exist = false)
    private String personName;
    @TableField(exist = false)
    private String timeRange;
}
